package oceanwiki.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.ToString;

/**
 * @FileName DocQueryResp
 * @Description
 * @Author Me
 * @date 2024-09-12
 **/

@Data
@ToString
public class DocQueryResp {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long ebookId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long parent;

    private String name;
    private Integer sort;
    private Integer viewCount;
    private Integer voteCount;
}
